﻿@model IEnumerable<VOD.Models.Video>
<div class="column_variety yj">
    <div class="title">
        <div class="tab">
            <a href="">综艺</a>
        </div>
        <div class="ext">
            <span>今日更新 @ViewBag.UpdateNum 部</span> @Html.ActionLink(">>更多", "Index", "Variety",null, new { target="_blank" })
        </div>
    </div>
    <div class="mainShow">
        @if (Model.Count() == 0)
        {
            <p style="text-align:left;padding-left:30px;">暂无内容</p>
        }
        else
        {
            foreach (var item in Model)
            {
                <dl>
                    <dt><a href="@Url.Content("~/Video/Play/"+item.VideoID)"><span class="btn_nowPlay">立即播放</span>
                        <img src="@Url.Content("~/Content/Images/VideoImg/"+item.VideoID+".jpg")" alt="@item.Name" width="120" height="160" />
                    </a></dt>
                    <dd>
                        @Html.ActionLink(item.Name, "Play", "Video", new { id = item.VideoID }, new { target = "_blank" , title = item.Name })
                    </dd>
                </dl>
            }
        }
    </div>
</div>
